<script>
	import {WEXIN_APPID, HTTP_REQUEST_URL} from '@/config.js';
	export default {
		globalData:{
			baseUrl: HTTP_REQUEST_URL,
			appId: WEXIN_APPID, 
			statusBarHeight:'',
			screenHeight:'',
			isShowLoading:false,
			pubopenid: "",
			organizationId: "",
			mId: ""
			
		},
		onLaunch: function(e) {
			console.log(e)
			let that=this
			uni.getSystemInfo({
				success(res) {
					that.globalData.statusBarHeight = res.statusBarHeight
					that.globalData.screenHeight = res.screenHeight
					console.log(res.screenHeight)
				}
			})
		},
		onShow: function(e) {
			console.log('App Show',e)
		},
		onHide: function() {}
	}
</script>

<style lang="scss">
	/*每个页面公共css */
	@import "uview-ui/index.scss";
	page{
		background-color:#F7F8FA;
	}
	button::after{
		border: none;
	}
	.empty-box{
		color: #999;
		width: 100%;
		height: 49vh;
		text-align: center;
		padding-top: 530upx;
	}

</style>
